package com.dxq.test.adapter;

import android.support.annotation.LayoutRes;
import android.support.annotation.Nullable;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.dxq.test.R;

import java.util.List;

/**
 * @author zsh
 * @date 2020/3/29.
 * @功能 xxx
 */

public class FunctionAdapter extends BaseQuickAdapter<String, BaseViewHolder> {

    public FunctionAdapter(@LayoutRes int layoutResId, @Nullable List<String> data) {
        super(layoutResId, data);
    }

    public FunctionAdapter(@Nullable List<String> data) {
        super(data);
    }

    public FunctionAdapter(@LayoutRes int layoutResId) {
        super(layoutResId);
    }

    @Override
    protected void convert(BaseViewHolder helper, String item) {
        helper.setText(R.id.tvContent, item);
    }
}
